<?php


namespace app\wx\model;


use think\facade\Config;
use think\Model;

class Wxnumber extends Model
{

    protected $pk = 'id';
    protected $table = 'wxnumber';

    public function getImgurlAttr($value)
    {
        if ($value == ""){
            $status = "";
        }else{
            $status = Config::get('wxCatch.wxDomain').'/'.$value;
        }

        return $status;
    }
}